package com.qk.mangement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.domain.clue.ClueCountDO;
import com.qk.domain.clue.ClueDO;
import com.qk.dto.clue.ClueListDTO;
import com.qk.entity.Clue;
import com.qk.entity.ClueQueryListByPageDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Date:2025/10/13
 * Author:zxc
 * Description
 */
@Mapper
public interface ClueMapper extends BaseMapper<Clue> {


    Page<ClueDO> selectByPageMp(Page pages, ClueListDTO dto);

    List<ClueDO> selectByPage(ClueListDTO dto);

    ClueCountDO selectCountClue();

    IPage<Clue> queryCluePool(Page<Object> page, ClueQueryListByPageDto clueQueryListByPageDto);
}
